Skip to content

Add error handling for reading cached strings#2987

Closed
JudahGant wants to merge 1 commit intoAssemblyScript:mainfrom
JudahGant:patch-1
Closed

Add error handling for reading cached strings#2987
JudahGant wants to merge 1 commit intoAssemblyScript:mainfrom
JudahGant:patch-1

Conversation

@JudahGant
Copy link

Fixes # .

Changes proposed in this pull request:


  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

}

/** Reads a cached string, throwing a descriptive error if null. */
private readStringOrThrow(ref: number, context: string): string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this method even used?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this was accidental, please ignore!

Copy link
Member

@HerrCai0907 HerrCai0907 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need to change? Is there any related issue?

@CountBleck
Copy link
Member

Closing because this doesn't do anything.

@CountBleck CountBleck closed this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants